# 基于最新版的NODE容器创建
FROM 10.164.2.213:4300/library/capitaland-nodejs

COPY ./app.js ./
COPY ./pm2.json ./
COPY ./package.json ./

COPY ./app ./app
COPY ./libs ./libs
COPY ./datas ./datas
COPY ./wwwroot ./wwwroot
COPY ./environments ./environments

RUN npm install --production

CMD ["pm2-docker", "pm2.json"]
